package com.cloud.sample.provider.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class QcloudCosCredentialDTO {
	private CredentialsDTO credentials;
	private long startTime;
	private long expiredTime;
	private String bucket;
	private String region;
	private String url;

	@Data
	@NoArgsConstructor
	public static class CredentialsDTO {
		private String tmpSecretId;
		private String tmpSecretKey;
		private String sessionToken;
		private long durationSeconds;
	}
}